import sys
from PySide6.QtWidgets import QApplication
from core.gui.main_window import MainWindow
from utils.settings import VERSION


def main():
    app = QApplication(sys.argv)
    app.setApplicationName('happyDNF')
    app.setApplicationVersion(VERSION)

    w = MainWindow()
    w.show()
    return app.exec()


if __name__ == '__main__':
    sys.exit(main())
